import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyVue from '@/components/MyVue.vue'
import MyButton from '@/components/MyButton.vue'
import MyTable from '@/components/MyTable.vue'
import User from '@/components/User.vue'
import Department from '@/components/Department'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',component: HelloWorld},
    {path: '/myVue',component: MyVue },
    {path: '/myButton',component: MyButton},
    {path: '/myTable',component: MyTable },
    {path: '/user', component: User},
    {path: '/dept',component: Department}
  ]
})
